package com.springboot.shiro.mapper;

import com.springboot.shiro.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findByUserName (@Param("loginName") String loginName);

    Integer updateByUserName (@Param("loginName")String loginName);
}